package com.cwl.base.day04.array;

/**
 * @program: java_base
 * @description: 二维数组
 * @author: ChenWenLong
 * @create: 2019-11-07 19:59
 **/
public class Test01 {
    public static void main(String[] args) {
//		int [][] a = {
//						{1,2},
//						{3,4,0,9},
//						{5,6,7}
//					};

        int[][]  a = new int[3][];
        a[0] = new int[2];
        a[1] = new int[4];
        a[2] = new int[3];
        a[0][0] = 1;
        a[0][1] = 2;
        a[1][0] = 3;
        a[1][1] = 4;
        a[1][2] = 0;
        a[1][3] = 9;

        a[2][0] = 5;
        a[2][1] = 6;
        a[2][2] = 7;

        System.out.println(a[2][2]);


    }
}
